package com.ruoyi.project.api.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.anquan.mapper.SecuritySgsjMapper;
import com.ruoyi.project.anquan.domain.SecuritySgsj;
import com.ruoyi.project.api.service.ApiISecuritySgsjService;

/**
 * 事故事件Service业务层处理
 * 
 * @author ruoyi
 * @date 2020-05-11
 */
@Service
public class ApiSecuritySgsjServiceImpl implements ApiISecuritySgsjService
{
    @Autowired
    private SecuritySgsjMapper securitySgsjMapper;


    
    /**
     * 按事件类型统计统计
     * 
     * @param securitySgsj 事故事件
     * @return 事故事件
     */
    @Override
    public List<SecuritySgsj> statisticsByEventType()
    {
    	return securitySgsjMapper.statisticsByEventType();
    }


}
